import {
  updatePinformation, updateWorkExplain, updateIntroduction,addWorkExperiment,
  getPinformation, addEduction,uploadAvatar,addSkill,deleteSkill,addProduction
} from "@/services";
export const actions = {
  action_updatePInformation(context){
    updatePinformation(context)
  },
  action_getPInformation(context){
    getPinformation(context)
  },
  action_updateWorkExplain(context, data){
    updateWorkExplain(context,data)
  },
  action_updateIntroduction(context, introduction){
    updateIntroduction(context,introduction)
  },
  action_addWorkExperiment(context, data){
    // context.commit('setWorkExperimentAdd', data)
    addWorkExperiment(context, data)
  },
  action_addEduction(context,data){
    addEduction(context, data)
  },
  action_uploadAvatar(context,data){
    uploadAvatar(context,data)
  },
  action_addSkill(context, data){
    addSkill(context,data)
  },
  action_deleteSkill(context,data){
    deleteSkill(context,data)
  },
  action_addProduction(context,data){
    addProduction(context,data)
  }
}
